<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>赠送积分</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script src="__PUBLIC__/js/rem.js"></script> 
    <script src="__PUBLIC__/js/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/upload.js"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/page.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/all.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/mui.min.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/slick/slick.css"/>
    <style type="text/css">
      .selectfiles:hover{background-image:url("__PUBLIC__/img/fileupload01.png")}
      .selectfiles{background-image:url("__PUBLIC__/img/fileupload.png");margin-right:5px;background-size:100% 100%;background-position:center;background-repeat:no-repeat;height:129px;width:129px;float:left;background-color:transparent!important;margin:0 0 0 5px!important;border:0;cursor:pointer}

    </style>
	<script type="text/javascript">
		$(window).load(function(){
			$(".loading").addClass("loader-chanage")
			$(".loading").fadeOut(300)
		})
	</script>

	<script>
	$(document).ready(function(){
		$("#phone").blur(function(){
			$.post("http://cdzx.laobing2016.com/giveName.php",{
				phone: $("#phone").val()
			},
			function(data,status){
				alert(data);
			});
		});
	});
	</script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
	<body>
		<div class="center-header clearfloat" id="header">
			<a href="__URL__/seigOut" class="fr shezhi">退出</a>
			<div class="top fl clearfloat box-s">
				<a href="#">
					<div class="tu fl">
						<span></span>
						<img src="<?php echo $res[0]['head_pic']; ?>"/>
					</div>
					<p class="tit fl"><?php echo $res[0]['name']; ?></p>
					<p class="tit fl">您的当前积分【<?php echo $res[0]['shop_points']; ?>】</p>
				</a>
			</div>
			<div class="bottom clearfloat">
				<ul>
					<li>
						<a href="__URL__/buyNum" class="clearfloat">
							<p><?php echo $count; ?></p>
							<p>积分明细</p>
						</a>
					</li>
					<li>
						<a href="#" class="clearfloat">
							<p><?php echo $res[0]['use_points']; ?></p>
							<p>可提现积分</p>
						</a>
					</li>
					<li>
						<a href="#" class="clearfloat">
							<p>我要</p>
							<p>推广</p>
						</a>
					</li>
					<li>
						<a href="__URL__/tMoney" class="clearfloat">
							<p>我要</p>
							<p>提现</p>
						</a>
					</li>
				</ul>
			</div>
		</div>
		
		<div class="rent clearfloat" id="main">
			<div class="top clearfloat">
				<ul>
					<li>
						<a href="__URL__/buy">购买积分</a>
					</li>
					<li class="cur">
						<a href="#">赠送积分</a>
					</li>
					<li>
						<a href="__URL__/goods">商品上新</a>
					</li>
					<li>
						<a href="__URL__/change">信息修改</a>
					</li>
				</ul>
			</div>
		</div>

		<div class="clearfloat pcenter" id="main">
			<form action="__URL__/giveUser" method="post" class="cmxform" id="signupForm" enctype="multipart/form-data">
				<div class="modify clearfloat" id="main">
					<ul>
						<li class="clearfloat">
							<input type="text" name="phone" id="phone" value="" placeholder="请输入会员电话" class="sname" required minlength="11" maxlength="11" />
						</li>
						<li class="clearfloat">
							<input type="text" name="number" id="number" value="" placeholder="请输入赠送数量" class="syzma fl" required/>
						</li>
					</ul>
				</div>		
				<input type="submit" value="确认赠送" class="pay-btn clearfloat">
			</form>
			
			
			<div class="p-list p-listwo clearfloat box-s">
				
			</div>
		</div>

	</body>
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.3.min.js" ></script>
	<script type="text/javascript" src="__PUBLIC__/js/jquery.SuperSlide.2.1.js" ></script>
	<script type="text/javascript" src="__PUBLIC__/slick/slick.min.js" ></script>
	<script type="text/javascript" src="__PUBLIC__/js/jquery.leanModal.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/tchuang.js" ></script>
	<script type="text/javascript" src="__PUBLIC__/js/hmt.js" ></script>
</html>
